package com.zhuang.designpattern.combination.model.aggregates;

import com.zhuang.designpattern.combination.model.vo.TreeNode;
import com.zhuang.designpattern.combination.model.vo.TreeRoot;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Map;

/**
 * description: 规则树聚合
 * date: 2022/9/17 10:03
 * author: Zhuang
 * version: 1.0
 */
@Data
@AllArgsConstructor
public class TreeRich {
    private TreeRoot treeRoot;                          //树根信息
    private Map<Long, TreeNode> treeNodeMap;        //树节点ID -> 子节点
}
